/**
 * 响应状态码
 */
export enum ResponseCode {
  SUCCESS = 20000,
  PARAMS_ERROR = 40000,
  NOT_LOGIN_ERROR = 40100,
  NO_AUTH_ERROR = 40101,
  NOT_FOUND_ERROR = 40400,
  FORBIDDEN_ERROR = 40300,
  SYSTEM_ERROR = 50000,
  OPERATION_ERROR = 50001
}

/**
 * 响应信息
 */
export enum ResponseMsg {
  SUCCESS = '请求成功！',
  PARAMS_ERROR = '请求参数错误！',
  NOT_LOGIN_ERROR = '未登录！',
  NO_AUTH_ERROR = '无权限！',
  NOT_FOUND_ERROR = '请求数据不存在！',
  FORBIDDEN_ERROR = '禁止访问！',
  SYSTEM_ERROR = '系统内部异常！',
  OPERATION_ERROR = '操作失败！',
}
